<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        * {
            padding: 0;
            margin: 0;
        }

        .wrapper {
            width: 700px;
            height: 300px;
            border: 1px solid black;

            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            align-items: center;
            align-content: flex-start;
            flex-wrap: nowrap;
        }
        .content {
            width: 100px;
            height: 100px;
            border: 1px solid #0f0;
            box-sizing: border-box;
        }




        .content:first-child {
            order: 1;
            align-self: flex-start;
        }
        .content:nth-child(2) {
            order: -3;
            align-self: flex-end;
        }

    </style>




</head>
<body>
    <div class="wrapper">
        <div class="content">1</div>
        <div class="content">2</div>
        <div class="content">3</div>
        <div class="content">4</div>

    </div>
</body>
</html>